
package org.example.Entity;
import java.io.Serializable;

public class CategoryCountInfo implements Serializable {
    private String categoryId;
    private long clickCount;
    private long orderCount;
    private long payCount;

    public CategoryCountInfo(String categoryId, long clickCount, long orderCount, long payCount) {
        this.categoryId = categoryId;
        this.clickCount = clickCount;
        this.orderCount = orderCount;
        this.payCount = payCount;
    }

    public String getCategoryId() {
        return categoryId;
    }

    public long getClickCount() {
        return clickCount;
    }

    public void setClickCount(long clickCount) {
        this.clickCount = clickCount;
    }

    public long getOrderCount() {
        return orderCount;
    }

    public void setOrderCount(long orderCount) {
        this.orderCount = orderCount;
    }

    public long getPayCount() {
        return payCount;
    }

    public void setPayCount(long payCount) {
        this.payCount = payCount;
    }

    // 重写toString方法，按照期望的格式返回对象的字符串表示
    @Override
    public String toString() {
        return "CategoryCountInfo（" +
                categoryId + '，' +
                + clickCount + '，'+
                + orderCount + '，'+
                + payCount +
                '）';
    }
}